From 9f6f741f102f22acd75add9d56e10e2e02548874 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 27 Jun 2005 18:36:02 +0000 Subject: [PATCH] Add 'usbfree' target. --- gpsbabel/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gpsbabel/Makefile b/gpsbabel/Makefile index df34c7c36..5ac6fbb78 100644 --- a/gpsbabel/Makefile +++ b/gpsbabel/Makefile @@ -56,6 +56,15 @@ OBJS = main.o $(LIBOBJS) all: gpsbabel +# +# Alternate makefile target for the case when you have no libusb and no +# need for Garmin/USB (60, 76C, VistaC, Quest, etc.) support. +# +usbfree: + make LIBUSB= INHIBIT_USB=-DNO_USB + + + gpsbabel: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o gpsbabel $(LIBEXPAT) $(LIBUSB) -lm -- 2.30.2